package org.ytor.core.sysapi.monitor.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * created by yangtong on 2025/7/6 20:58:52
 * <br/>
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "JVM线程统计信息")
public class ThreadInfoResp {
    @Schema(description = "当前线程总数", example = "156")
    private Integer totalThreads;

    @Schema(description = "活跃线程数", example = "156")
    private Integer activeThreads;

    @Schema(description = "守护线程数", example = "12")
    private Integer daemonThreads;

    @Schema(description = "峰值线程数", example = "180")
    private Integer peakThreads;
}
